package com.rabbit.eap.framework.common.param;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @projectName eap
 * @packageName com.rabbit.eap.framework.common.param
 * @className IdParam
 * @author： rabbit
 * @version： 1.0
 * @since： 2020/4/30 16:36
 * <p>Description: IdParam
 * ID参数
 * </p>

 */
@Data
@ApiModel("ID参数")
public class IdParam implements Serializable {
    private static final long serialVersionUID = -5353973980674510450L;

    @NotNull(message = "ID不能为空")
    private Long id;

}
